package com.party.core.dao.read.audio;

import com.party.common.paging.Page;
import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.audio.Audio;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Description:音频數據讀取
 * @Param:
 * @return:
 * @Author: Hua Qunhao
 * @Date: 2019-03-11-0011
 */
@Repository
public interface AudioReadDao extends BaseReadDao<Audio> {

	/**
	 * web端
	 *
	 * @param audio
	 * @param params
	 * @param page
	 * @return
	 */
	List<Audio> webListPage(@Param(value = "audio") Audio audio, @Param(value = "params") Map<String, Object> params, Page page);


	List<Audio> findAudio(Audio audio);

	Audio findAudioByEventId(String eventId);
}
